<form id="frmSearchMyCustomerInfo" name="frmSearchMyCustomerInfo">
    <table cellspacing="0" cellpadding="0" align="left" width="100%" class="table-form-post">
        <colgroup>
            <col width="60px">
            <col width="150px">
            <col width="62px">
            <col width="100px">
        </colgroup>
        <tbody>
            <tr>
                <td colspan="2">
                    <div class="info_header">
                        Tìm kiếm thông tin khách hàng
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    Họ và tên
                </td>
                <td>
                    <input type="text" name="customer_full_name_search" id="customer_full_name_search" class="w150p">
                </td>
                <td>
                    Điện thoại
                </td>
                <td>
                    <input type="text" name="customer_mobile_phone_search" id="customer_mobile_phone_search" class="w100p">
                </td>
                <td>
                    <input type="button" onclick="AdminController.searchMyCustomerInfo(1);" value="Tìm kiếm" class="submit" id="btnSearchCustomerInfo" name="btnSearchCustomerInfo">
                </td>
            </tr>
        </tbody>
    </table>
</form>
<div style="width: 100%">
    <div id="search_list_my_customer">
        <table cellpadding="0" cellspacing="0" width="100%" align="left" class="table-list">
            <tr>
                <td class="order_product_title">
                    Họ và tên
                </td>
                <td class="order_product_title">
                    Số điện thoại
                </td>
                <td class="order_product_title">
                    Địa chỉ
                </td>
                <td class="order_product_title">
                    Số sản phẩm
                </td>
                <td class="order_product_title">
                    Chi tiết
                </td>


            </tr>
            <?php if (isset($aryCustomerData[0])) { ?>
                <?php foreach ($aryCustomerData as $key => $value) { ?>
                    <tr>
                        <td>
                            <?php echo $value['customer_full_name']; ?>
                        </td>
                        <td>
                            <?php echo $value['customer_mobile_phone']; ?>
                        </td>
                        <td>
                            <?php echo $value['customer_address']; ?>
                        </td>
                        <td>
                            <?php foreach ($aryTotalProduct as $key2 => $product) { ?>
                                <?php if ($key2 == $value['customer_id']) { ?>
                                    <?php echo $product['total_product']; ?>
                                <?php } ?>
                            <?php } ?>
                        </td>
                        <td>
                            <img src="/public/images/form/icon-edit.gif" class="cpointer" title="Xem chi tiết" onclick="AdminController.viewDetailMyCustomer('<?php echo $value['customer_id']; ?>');">
                        </td>
                    </tr>
                <?php } ?>
                <tr>
                    <td colspan="5" align="right">
                        <?php echo $strPaging; ?>
                    </td>
                </tr>
            <?php } else { ?>
                <tr>
                    <td colspan="5">
                        <div class="search_no_restul">Không có dữ liệu</div>
                    </td>
                </tr>

            <?php } ?>
        </table>
    </div>
</div>
<div style="height: 1px;clear: both;"></div>
<div style="width: 100%">
    <div id="view_detail_my_customer" class="hide"></div>
</div>